<?php $data = array(
			'title' => '论文系统-首页',
			'css' => array('css/global.css','css/login.css'),
			'js' => array('js/global.js','js/home.js'),
			'menu' => '01',
			'sub_menus' => array('user/user_list' => '用户管理', 'user/login' => '用户登录')
		);
		$this->load->view('templates/header',$data);
?>

<?php $this->load->view('templates/sub_menu');?>

<div class="main clearfix">
	<div class="real-wrap clearfix">
		<?php $this->load->view('templates/user_template');?>
		<div class="maincontent om">	
			<div id="signup_form">
			
				<p class="heading">用户登录</p>
			
				<?php echo form_open('user/login/submit'); ?>
			
				<?php echo validation_errors('<p class="error">','</p>'); ?>
			
				<p>
					<label for="account">登陆名: </label>
					<?php echo form_input('account',set_value('account')); ?>
				</p>
				<p>
					<label for="password">密码: </label>
					<?php echo form_password('password'); ?>
				</p>
				<p>
					<?php echo form_submit('submit','登录'); ?>
				</p>
			
				<?php echo form_close(); ?>
			
			</div>
		</div>
	</div>
</div>
<?php $this->load->view('templates/footer');?>
